<label>
	<?php echo $params['label']?>
	<select name="<?php echo $params['name'] ?>" data-errors='<?php echo json_encode($errors)?>'
		<?php if(isset($params['multiple']) && $params['multiple']) { echo ' multiple="multiple" '; } ?>>
		<?php foreach($params['options'] as $optionName => $optionValue) { ?>
		<option <?php if ($value == $optionValue) {echo 'selected';} ?> 
		name="<?php echo $this->txt2attr($optionName) ?>"><?php echo $this->txt2html($optionValue); ?></option>
		<?php } ?>
	</select>
</label>
